#include "xparameters.h"
#include "xiicps.h"
#include "xil_printf.h"

#define IIC_SLAVE_ADDR		0x68
#define IIC_SCLK_RATE		100000
#define IIC_DEVICE_ID		XPAR_XIICPS_0_DEVICE_ID


//int IicPsMasterPolledExample(u16 DeviceId);
int iic_8624_init(XIicPs *InstancePtr, u16 DeviceId);
int iic_8624_read(XIicPs *InstancePtr, u8 *SendBuffer, u8 *RecvBuffer);
int iic_8624_write(XIicPs *InstancePtr, u8 *SendBuffer);
